Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File backups in development builds #610

Merged
merged 7 commits into from
Aug 29, 2024

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented Jan 9, 2024

There has already been an incident that there is a break of preferences by 9de1e2a (originated from #425; attempt of fix as in #503). Ideally, this kind of save file scheme changes should always be conducted and followed-up so as to preserve the quality of version continuation on save files, even on pre-releases. This is related to the quality of pre-releases.

Then, in case of save file corruptions, this allows backups of both preferences and world saves. Backups of preferences are performed automatically when saving and upgrading preferences with development builds; backup prompts are shown when users are attempting to load old worlds in development builds. (This might be extended to generally all versions, and all loadings of conflicting versions respectively.)

(Edited on 2023/01/11)

Old summary

Recently, due to the changes to the workflows of development builds, pre-releases, the risks of getting corrupted files may significantly increase. This allows backups of both preferences and world saves. Backups of preferences are performed automatically when saving preferences with development builds; backup prompts are shown when users are attempting to load old worlds in development builds.

src/client/java/minicraft/saveload/Version.java Outdated Show resolved Hide resolved
@Litorom Litorom merged commit 4208bf1 into MinicraftPlus:main Aug 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants